# -*- mode: snippet -*-
# name: is_partitioned
# key: ipt
# --
if (std::is_partitioned(std::begin(${1:container}), std::end($1), []($2) {
  $3
})) {
  $4
}
$0
